da8xxevm: Fix warning: unused variable 'val'
authorWolfgang Denk <[email protected]>
Mon, 5 Sep 2011 05:26:27 +0000 (05:26 +0000)
committerWolfgang Denk <[email protected]>
Wed, 7 Sep 2011 20:02:07 +0000 (22:02 +0200)
Signed-off-by: Wolfgang Denk <[email protected]>
Cc: Albert ARIBAUD <[email protected]>
Cc: Sandeep Paulraj <[email protected]>
Cc: Sudhakar Rajashekhara <[email protected]>
board/davinci/da8xxevm/da850evm.c

index 2f950e7bdf686b62cfada003babf9a43d5dd6c47..46924d349b886a63bfb964ac6784a116f5d314c3 100644 (file)
@@ -280,12 +280,14 @@ u32 get_board_rev(void)
 
 int board_init(void)
 {
+#ifdef CONFIG_USE_NOR
        u32 val;
+#endif
+
 #ifndef CONFIG_USE_IRQ
        irq_init();
 #endif
 
-
 #ifdef CONFIG_NAND_DAVINCI
        /*
         * NAND CS setup - cycle counts based on da850evm NAND timings in the